package com.luomu.base.api.cookBook.excel.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.luomu.base.api.bo.ReqPage;
import com.luomu.base.api.cookBook.excel.contant.TimestampDeserializer;

import java.util.Date;

public class CommonExportListDataReqBO extends ReqPage {

    /**
     * 创建人
     */
    private String updateUser;

    /**
     * 创建开始时间
     */
    @JsonDeserialize(using = TimestampDeserializer.class)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createStartTime;

    /**
     * 创建结束时间
     */
    @JsonDeserialize(using = TimestampDeserializer.class)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createEndTime;

    /**
     * 来源
     */
    private Integer originType;

    public CommonExportListDataReqBO() {
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getCreateStartTime() {
        return createStartTime;
    }

    public void setCreateStartTime(Date createStartTime) {
        this.createStartTime = createStartTime;
    }

    public Date getCreateEndTime() {
        return createEndTime;
    }

    public void setCreateEndTime(Date createEndTime) {
        this.createEndTime = createEndTime;
    }

    public Integer getOriginType() {
        return originType;
    }

    public void setOriginType(Integer originType) {
        this.originType = originType;
    }
}
